VERSION=1.8
#SMARTDOC=/home/comun/trabajo/herramientas/SmartTools7_0R03.pj/_sol28o817fast.O/SmartDoc
SMARTDOC=/home/comun/trabajo/herramientas/SmartTools/v10_0.pj//bin/$(GMAKE_SYSTEM)/onlinehelp
OFFICIAL_SS=$(MYPJ)/official.ss
EXPERIMENTAL_SS=$(MYPJ)/experimental.ss
COLLABORATION_SS=$(MYPJ)/collaboration.ss
IMS_SS=$(MYPJ)/ims.ss

all : 	../tags/nemesis.$(VERSION).tag \
	../tags/nemesis.xml.$(VERSION).tag \
	../tags/nemesis.html.$(VERSION).tag \
	../tags/nemesis.app.$(VERSION).tag \
	../tags/nemesis.io.$(VERSION).tag \
	../tags/nemesis.comm.$(VERSION).tag \
	../tags/nemesis.commsec.$(VERSION).tag \
	../tags/nemesis.http.$(VERSION).tag \
	../tags/nemesis.timex.$(VERSION).tag \
	../tags/nemesis.ldap.$(VERSION).tag \
	../tags/nemesis.dbms.$(VERSION).tag \
	../tags/nemesis.dbms.oracle.$(VERSION).tag \
	../tags/nemesis.dbms.postgre.$(VERSION).tag \
	../tags/nemesis.dbms.mysql.$(VERSION).tag \
	../tags/nemesis.dbos.$(VERSION).tag \
	../tags/nemesis.shmem.$(VERSION).tag \
	../tags/nemesis.tools.$(VERSION).tag \
	../tags/nemesis.sdp.$(VERSION).tag \
	../tags/nemesis.ims.sip.$(VERSION).tag  \
	../tags/nemesis.ims.useragent.$(VERSION).tag  \
	../tags/nemesis.collaboration.sim.$(VERSION).tag 
	@if [ ! -d ../tags ] ; then mkdir ../tags; fi ;
	$(SMARTDOC) -doxygen -ss NemesisRD -o SuiteNemesisRD.html -t "Suite NemesisRD $(VERSION)" -l nemesis,nemesis.xml,nemesis.html,nemesis.app,nemesis.io,nemesis.comm,nemesis.commsec,nemesis.http,nemesis.timex,nemesis.ldap,nemesis.dbms,nemesis.dbms.mysql,nemesis.dbms.oracle,nemesis.dbms.postgre,nemesis.dbos,nemesis.shmem,nemesis.tools,nemesis.sdp,nemesis.ims.sip,nemesis.ims.useragent,nemesis.collaboration.sim

page :
	$(SMARTDOC) -doxygen -ss NemesisRD -o SuiteNemesisRD.html -t "Suite NemesisRD $(VERSION)" -l nemesis,nemesis.xml,nemesis.html,nemesis.app,nemesis.io,nemesis.comm,nemesis.commsec,nemesis.http,nemesis.timex,nemesis.ldap,nemesis.dbms,nemesis.dbms.mysql,nemesis.dbms.oracle,nemesis.dbms.postgre,nemesis.dbos,nemesis.shmem,nemesis.tools,nemesis.sdp,nemesis.ims.sip,nemesis.ims.useragent,nemesis.collaboration.sim

../tags/nemesis.$(VERSION).tag : $(OFFICIAL_SS)/libNemesis.core.b/hdrs/*.h $(OFFICIAL_SS)/libNemesis.core.b/doxygen.html
	make nemesis

../tags/nemesis.xml.$(VERSION).tag : $(OFFICIAL_SS)/libNemesis.xml.b/hdrs/*.h $(OFFICIAL_SS)/libNemesis.xml.b/doxygen.html
	make nemesis.xml

../tags/nemesis.html.$(VERSION).tag : $(OFFICIAL_SS)/libNemesis.html.b/hdrs/*.h $(OFFICIAL_SS)/libNemesis.html.b/doxygen.html
	make nemesis.html

../tags/nemesis.app.$(VERSION).tag : $(OFFICIAL_SS)/libNemesis.app.b/hdrs/*.h $(OFFICIAL_SS)/libNemesis.app.b/doxygen.html
	make nemesis.app

../tags/nemesis.io.$(VERSION).tag : $(OFFICIAL_SS)/libNemesis.io.b/hdrs/*.h $(OFFICIAL_SS)/libNemesis.io.b/doxygen.html
	make nemesis.io

../tags/nemesis.comm.$(VERSION).tag : $(OFFICIAL_SS)/libNemesis.comm.b/hdrs/*.h $(OFFICIAL_SS)/libNemesis.comm.b/doxygen.html
	make nemesis.comm

../tags/nemesis.commsec.$(VERSION).tag : $(OFFICIAL_SS)/libNemesis.commsec.b/hdrs/*.h $(OFFICIAL_SS)/libNemesis.commsec.b/doxygen.html
	make nemesis.commsec

../tags/nemesis.http.$(VERSION).tag : $(OFFICIAL_SS)/libNemesis.http.b/hdrs/*.h $(OFFICIAL_SS)/libNemesis.http.b/doxygen.html
	make nemesis.http

../tags/nemesis.tools.$(VERSION).tag : $(OFFICIAL_SS)/libNemesis.tools.b/hdrs/*.h $(OFFICIAL_SS)/libNemesis.tools.b/doxygen.html
	make nemesis.tools

../tags/nemesis.sdp.$(VERSION).tag : $(OFFICIAL_SS)/libNemesis.sdp.b/hdrs/*.h $(OFFICIAL_SS)/libNemesis.sdp.b/doxygen.html
	make nemesis.sdp

../tags/nemesis.timex.$(VERSION).tag : $(OFFICIAL_SS)/libNemesis.timex.b/hdrs/*.h $(OFFICIAL_SS)/libNemesis.timex.b/doxygen.html
	make nemesis.timex

../tags/nemesis.ldap.$(VERSION).tag : $(OFFICIAL_SS)/libNemesis.ldap.b/hdrs/*.h $(OFFICIAL_SS)/libNemesis.ldap.b/doxygen.html
	make nemesis.ldap

../tags/nemesis.dbms.$(VERSION).tag : $(OFFICIAL_SS)/libNemesis.dbms.b/hdrs/*.h $(OFFICIAL_SS)/libNemesis.dbms.b/doxygen.html
	make nemesis.dbms

../tags/nemesis.dbms.mysql.$(VERSION).tag : $(OFFICIAL_SS)/libNemesis.dbms.mysql.b/hdrs/*.h $(OFFICIAL_SS)/libNemesis.dbms.mysql.b/doxygen.html
	make nemesis.dbms.mysql

../tags/nemesis.dbms.oracle.$(VERSION).tag : $(OFFICIAL_SS)/libNemesis.dbms.oracle.b/hdrs/*.h $(OFFICIAL_SS)/libNemesis.dbms.oracle.b/doxygen.html
	make nemesis.dbms.oracle

../tags/nemesis.dbms.postgre.$(VERSION).tag : $(OFFICIAL_SS)/libNemesis.dbms.postgre.b/hdrs/*.h $(OFFICIAL_SS)/libNemesis.dbms.postgre.b/doxygen.html
	make nemesis.dbms.postgre

../tags/nemesis.dbos.$(VERSION).tag : $(OFFICIAL_SS)/libNemesis.dbos.b/hdrs/*.h $(OFFICIAL_SS)/libNemesis.dbos.b/doxygen.html
	make nemesis.dbos

../tags/nemesis.shmem.$(VERSION).tag : $(EXPERIMENTAL_SS)/libNemesis.shmem.b/hdrs/*.h $(EXPERIMENTAL_SS)/libNemesis.shmem.b/doxygen.html
	make nemesis.shmem

../tags/nemesis.collaboration.sim.$(VERSION).tag : $(COLLABORATION_SS)/libNemesis.collaboration.sim.b/hdrs/*.h $(COLLABORATION_SS)/libNemesis.collaboration.sim.b/doxygen.html
	make nemesis.collaboration.sim

../tags/nemesis.ims.sip.$(VERSION).tag : $(IMS_SS)/libNemesis.sip.b/hdrs/*.h $(IMS_SS)/libNemesis.sip.b/doxygen.html
	make nemesis.ims.sip

../tags/nemesis.ims.useragent.$(VERSION).tag : $(IMS_SS)/libNemesis.useragent.b/hdrs/*.h $(IMS_SS)/libNemesis.useragent.b/doxygen.html
	make nemesis.ims.useragent

nemesis : $(OFFICIAL_SS)/libNemesis.core.b/hdrs/*.h
	if [ -d ./nemesis ] ; then rm -rf ./nemesis/* ; else mkdir ./nemesis ; fi ; 
	@echo "1,$ s/__VERSION__/${VERSION}/g" > /tmp/vicmd 
	@echo "x" >> /tmp/vicmd 
	@cd $(OFFICIAL_SS)/libNemesis.core.b; cp doxygen.html /tmp/aux; ex /tmp/aux < /tmp/vicmd; doxygen /tmp/aux; rm -f /tmp/vicmd

nemesis.io : $(OFFICIAL_SS)/libNemesis.io.b/hdrs/*.h
	if [ -d ./nemesis.io ] ; then rm -rf ./nemesis.io/* ; else mkdir ./nemesis.io ; fi ; 
	@echo "1,$ s/__VERSION__/${VERSION}/g" > /tmp/vicmd 
	@echo "x" >> /tmp/vicmd 
	@cd $(OFFICIAL_SS)/libNemesis.io.b; cp doxygen.html /tmp/aux; ex /tmp/aux < /tmp/vicmd; doxygen /tmp/aux; rm -f /tmp/vicmd

nemesis.app : $(OFFICIAL_SS)/libNemesis.app.b/hdrs/*.h
	if [ -d ./nemesis.app ] ; then rm -rf ./nemesis.app/* ; else mkdir ./nemesis.app ; fi ; 
	@echo "1,$ s/__VERSION__/${VERSION}/g" > /tmp/vicmd 
	@echo "x" >> /tmp/vicmd 
	@cd $(OFFICIAL_SS)/libNemesis.app.b; cp doxygen.html /tmp/aux; ex /tmp/aux < /tmp/vicmd; doxygen /tmp/aux; rm -f /tmp/vicmd

nemesis.xml : $(OFFICIAL_SS)/libNemesis.xml.b/hdrs/*.h
	if [ -d ./nemesis.xml ] ; then rm -rf ./nemesis.xml/* ; else mkdir ./nemesis.xml ; fi ; 
	@echo "1,$ s/__VERSION__/${VERSION}/g" > /tmp/vicmd 
	@echo "x" >> /tmp/vicmd 
	@cd $(OFFICIAL_SS)/libNemesis.xml.b; cp doxygen.html /tmp/aux; ex /tmp/aux < /tmp/vicmd; doxygen /tmp/aux; rm -f /tmp/vicmd

nemesis.html : $(OFFICIAL_SS)/libNemesis.html.b/hdrs/*.h
	if [ -d ./nemesis.html ] ; then rm -rf ./nemesis.html/* ; else mkdir ./nemesis.html ; fi ; 
	@echo "1,$ s/__VERSION__/${VERSION}/g" > /tmp/vicmd 
	@echo "x" >> /tmp/vicmd 
	@cd $(OFFICIAL_SS)/libNemesis.html.b; cp doxygen.html /tmp/aux; ex /tmp/aux < /tmp/vicmd; doxygen /tmp/aux; rm -f /tmp/vicmd

nemesis.comm : $(OFFICIAL_SS)/libNemesis.comm.b/hdrs/*.h
	if [ -d ./nemesis.comm ] ; then rm -rf ./nemesis.comm/* ; else mkdir ./nemesis.comm ; fi ; 
	@echo "1,$ s/__VERSION__/${VERSION}/g" > /tmp/vicmd 
	@echo "x" >> /tmp/vicmd 
	@cd $(OFFICIAL_SS)/libNemesis.comm.b; cp doxygen.html /tmp/aux; ex /tmp/aux < /tmp/vicmd; doxygen /tmp/aux; rm -f /tmp/vicmd

nemesis.commsec : $(OFFICIAL_SS)/libNemesis.commsec.b/hdrs/*.h
	if [ -d ./nemesis.commsec ] ; then rm -rf ./nemesis.commsec/* ; else mkdir ./nemesis.commsec ; fi ; 
	@echo "1,$ s/__VERSION__/${VERSION}/g" > /tmp/vicmd 
	@echo "x" >> /tmp/vicmd 
	@cd $(OFFICIAL_SS)/libNemesis.commsec.b; cp doxygen.html /tmp/aux; ex /tmp/aux < /tmp/vicmd; doxygen /tmp/aux; rm -f /tmp/vicmd

nemesis.http : $(OFFICIAL_SS)/libNemesis.http.b/hdrs/*.h
	if [ -d ./nemesis.http ] ; then rm -rf ./nemesis.http/* ; else mkdir ./nemesis.http ; fi ; 
	@echo "1,$ s/__VERSION__/${VERSION}/g" > /tmp/vicmd 
	@echo "x" >> /tmp/vicmd 
	@cd $(OFFICIAL_SS)/libNemesis.http.b; cp doxygen.html /tmp/aux; ex /tmp/aux < /tmp/vicmd; doxygen /tmp/aux; rm -f /tmp/vicmd

nemesis.timex : $(OFFICIAL_SS)/libNemesis.timex.b/hdrs/*.h
	if [ -d ./nemesis.timex ] ; then rm -rf ./nemesis.timex/* ; else mkdir ./nemesis.timex ; fi ; 
	@echo "1,$ s/__VERSION__/${VERSION}/g" > /tmp/vicmd 
	@echo "x" >> /tmp/vicmd 
	@cd $(OFFICIAL_SS)/libNemesis.timex.b; cp doxygen.html /tmp/aux; ex /tmp/aux < /tmp/vicmd; doxygen /tmp/aux; rm -f /tmp/vicmd

nemesis.ldap : $(OFFICIAL_SS)/libNemesis.ldap.b/hdrs/*.h
	if [ -d ./nemesis.ldap ] ; then rm -rf ./nemesis.ldap/* ; else mkdir ./nemesis.ldap ; fi ; 
	@echo "1,$ s/__VERSION__/${VERSION}/g" > /tmp/vicmd 
	@echo "x" >> /tmp/vicmd 
	@cd $(OFFICIAL_SS)/libNemesis.ldap.b; cp doxygen.html /tmp/aux; ex /tmp/aux < /tmp/vicmd; doxygen /tmp/aux; rm -f /tmp/vicmd
nemesis.dbms : $(OFFICIAL_SS)/libNemesis.dbms.b/hdrs/*.h
	if [ -d ./nemesis.dbms ] ; then rm -rf ./nemesis.dbms/* ; else mkdir ./nemesis.dbms ; fi ; 
	@echo "1,$ s/__VERSION__/${VERSION}/g" > /tmp/vicmd 
	@echo "x" >> /tmp/vicmd 
	@cd $(OFFICIAL_SS)/libNemesis.dbms.b; cp doxygen.html /tmp/aux; ex /tmp/aux < /tmp/vicmd; doxygen /tmp/aux; rm -f /tmp/vicmd

nemesis.dbms.mysql : $(OFFICIAL_SS)/libNemesis.dbms.mysql.b/hdrs/*.h
	if [ -d ./nemesis.dbms.mysql ] ; then rm -rf ./nemesis.dbms.mysql/* ; else mkdir ./nemesis.dbms.mysql ; fi ; 
	@echo "1,$ s/__VERSION__/${VERSION}/g" > /tmp/vicmd 
	@echo "x" >> /tmp/vicmd 
	@cd $(OFFICIAL_SS)/libNemesis.dbms.mysql.b; cp doxygen.html /tmp/aux; ex /tmp/aux < /tmp/vicmd; doxygen /tmp/aux; rm -f /tmp/vicmd

nemesis.dbms.oracle : $(OFFICIAL_SS)/libNemesis.dbms.oracle.b/hdrs/*.h
	if [ -d ./nemesis.dbms.oracle ] ; then rm -rf ./nemesis.dbms.oracle/* ; else mkdir ./nemesis.dbms.oracle ; fi ; 
	@echo "1,$ s/__VERSION__/${VERSION}/g" > /tmp/vicmd 
	@echo "x" >> /tmp/vicmd 
	@cd $(OFFICIAL_SS)/libNemesis.dbms.oracle.b; cp doxygen.html /tmp/aux; ex /tmp/aux < /tmp/vicmd; doxygen /tmp/aux; rm -f /tmp/vicmd

nemesis.dbms.postgre : $(OFFICIAL_SS)/libNemesis.dbms.postgre.b/hdrs/*.h
	if [ -d ./nemesis.dbms.postgre ] ; then rm -rf ./nemesis.dbms.postgre/* ; else mkdir ./nemesis.dbms.postgre ; fi ; 
	@echo "1,$ s/__VERSION__/${VERSION}/g" > /tmp/vicmd 
	@echo "x" >> /tmp/vicmd 
	@cd $(OFFICIAL_SS)/libNemesis.dbms.postgre.b; cp doxygen.html /tmp/aux; ex /tmp/aux < /tmp/vicmd; doxygen /tmp/aux; rm -f /tmp/vicmd

nemesis.dbos : $(OFFICIAL_SS)/libNemesis.dbos.b/hdrs/*.h
	if [ -d ./nemesis.dbos ] ; then rm -rf ./nemesis.dbos/* ; else mkdir ./nemesis.dbos ; fi ; 
	@echo "1,$ s/__VERSION__/${VERSION}/g" > /tmp/vicmd 
	@echo "x" >> /tmp/vicmd 
	@cd $(OFFICIAL_SS)/libNemesis.dbos.b; cp doxygen.html /tmp/aux; ex /tmp/aux < /tmp/vicmd; doxygen /tmp/aux; rm -f /tmp/vicmd

nemesis.sdp : $(OFFICIAL_SS)/libNemesis.sdp.b/hdrs/*.h
	if [ -d ./nemesis.sdp ] ; then rm -rf ./nemesis.sdp/* ; else mkdir ./nemesis.sdp ; fi ; 
	@echo "1,$ s/__VERSION__/${VERSION}/g" > /tmp/vicmd 
	@echo "x" >> /tmp/vicmd 
	@cd $(OFFICIAL_SS)/libNemesis.sdp.b; cp doxygen.html /tmp/aux; ex /tmp/aux < /tmp/vicmd; doxygen /tmp/aux; rm -f /tmp/vicmd

nemesis.tools : $(OFFICIAL_SS)/libNemesis.tools.b/hdrs/*.h
	if [ -d ./nemesis.tools ] ; then rm -rf ./nemesis.tools/* ; else mkdir ./nemesis.tools ; fi ; 
	@echo "1,$ s/__VERSION__/${VERSION}/g" > /tmp/vicmd 
	@echo "x" >> /tmp/vicmd 
	@cd $(OFFICIAL_SS)/libNemesis.tools.b; cp doxygen.html /tmp/aux; ex /tmp/aux < /tmp/vicmd; doxygen /tmp/aux; rm -f /tmp/vicmd

nemesis.shmem : $(EXPERIMENTAL_SS)/libNemesis.shmem.b/hdrs/*.h
	if [ -d ./nemesis.shmem ] ; then rm -rf ./nemesis.shmem/* ; else mkdir ./nemesis.shmem ; fi ; 
	@echo "1,$ s/__VERSION__/${VERSION}/g" > /tmp/vicmd 
	@echo "x" >> /tmp/vicmd 
	@cd $(EXPERIMENTAL_SS)/libNemesis.shmem.b; cp doxygen.html /tmp/aux; ex /tmp/aux < /tmp/vicmd; doxygen /tmp/aux; rm -f /tmp/vicmd

nemesis.collaboration.sim : $(COLLABORATION_SS)/libNemesis.collaboration.sim.b/hdrs/*.h
	if [ -d ./nemesis.collaboration.sim ] ; then rm -rf ./nemesis.collaboration.sim/* ; else mkdir ./nemesis.collaboration.sim ; fi ; 
	@echo "1,$ s/__VERSION__/${VERSION}/g" > /tmp/vicmd 
	@echo "x" >> /tmp/vicmd 
	@cd $(COLLABORATION_SS)/libNemesis.collaboration.sim.b; cp doxygen.html /tmp/aux; ex /tmp/aux < /tmp/vicmd; doxygen /tmp/aux; rm -f /tmp/vicmd

nemesis.ims.sip : $(IMS_SS)/libNemesis.sip.b/hdrs/*.h
	if [ -d ./nemesis.ims.sip ] ; then rm -rf ./nemesis.ims.sip/* ; else mkdir ./nemesis.ims.sip ; fi ; 
	@echo "1,$ s/__VERSION__/${VERSION}/g" > /tmp/vicmd 
	@echo "x" >> /tmp/vicmd 
	@cd $(IMS_SS)/libNemesis.sip.b; cp doxygen.html /tmp/aux; ex /tmp/aux < /tmp/vicmd; doxygen /tmp/aux; rm -f /tmp/vicmd

nemesis.ims.useragent : $(IMS_SS)/libNemesis.useragent.b/hdrs/*.h
	if [ -d ./nemesis.ims.useragent ] ; then rm -rf ./nemesis.ims.useragent/* ; else mkdir ./nemesis.ims.useragent ; fi ; 
	@echo "1,$ s/__VERSION__/${VERSION}/g" > /tmp/vicmd 
	@echo "x" >> /tmp/vicmd 
	@cd $(IMS_SS)/libNemesis.useragent.b; cp doxygen.html /tmp/aux; ex /tmp/aux < /tmp/vicmd; doxygen /tmp/aux; rm -f /tmp/vicmd

clobber:
	rm -rf nemesis nemesis.io nemesis.app nemesis.xml nemesis.html nemesis.comm nemesis.commsec nemesis.http nemesis.timex nemesis.ldap nemesis.dbms nemesis.dbms.mysql nemesis.dbms.oracle nemesis.dbms.postgre nemesis.dbos nemesis.shmem nemesis.tools nemesis.sdp nemesis.collaboration.* nemesis.ims.* ../tags/*.tag classes_*.html libraries_*.html mainFrame_*.html
